import request from "@/utils/request.js";

/**
 * @description 登录
*/
export function loginApi(data) {
	return request.post("auth/app", data, { noAuth: true });
}

/**
 * @description 获取用户信息
*/
export function getUserInfoApi(data) {
	return request.get("auth/app", data, { noAuth: false });
}